package com.qtz.demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Result<T>{
    //错误码
    private Integer code;
    //提示信息
    private String msg;
    //具体内容
    private T data;
}
